package com.outstanding.junit.bo.gateway;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.outstanding.junit.enums.EnableDisableType;
import com.outstanding.junit.enums.IsBatch;
import com.outstanding.junit.enums.IsDelete;
import com.outstanding.junit.enums.MessageType;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class GatewayBo implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = -6441726530530049533L;
	
	/**主键(消息服务商)ID*/
	private Long id;
	
	/**服务商名称*/
	private String gatewayName;
	
	/**服务商状态*/
	private EnableDisableType gatewayState;
	
	/**服务商编码*/
	private String gatewayNo;
	
	/**权重*/
	private String gatewayWeight;
	
	/**账号*/
	private String gatewayKey;
	
	/**密钥*/
	private String gatewaySecret;
	
	/**url*/
	private String gatewayUrl;
	
	/**服务商类型*/
	private MessageType gatewayType;
	
	/**是否删除*/
	private IsDelete isDelete;
	
	/**是否支持批量发送*/
	private IsBatch isBatch;
	
	/**批量发送接口*/
	private String gatewayBatchUrl;
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
